package 软件开发原则.里氏替换原则.after;
//长方形类
public class Rectangle implements Quadrilateral{
    private  double length;
    private  double width;

    @Override
    public double getLength() {
        return length;
    }

    @Override
    public double getWidth() {
        return width;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public void setWidth(double width) {
        this.width = width;
    }
}
